import {request} from './request'
import type {userInfo} from '../type/type'
//获取用户信息
export const getUserInfo = (token:string,id:string) => request.get<{
    code:Number,
    msg:String,
    data:userInfo
}>(`/connection.ashx?method=userInfo&token=${token}&id=${id}`)
